<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let a = 10;
        console.log(a);

        if(true){
            let b = 20;
            console.log(b);
            if(true){
                let c = 30;
            }
            console.log(c);
        }
        console.log(b);

        for(let i = 0; i < 2; i++){

        }
        console.log(i);
    </script>
</body>
</html>